package com.exmaple.smart.gwt.client.ui.data;

import com.exmaple.smart.gwt.client.ui.view.AccountView;

public class SettingsNavigationPaneSectionData {

	private static NavigationPaneRecord[] records;

	public static NavigationPaneRecord[] getRecords() {
		if (records == null) {
			records = getNewRecords();
		}
		return records;
	}

	public static NavigationPaneRecord[] getNewRecords() {
		return new NavigationPaneRecord[] {
				new NavigationPaneRecord("administration", "Administration",
						new AccountView.Factory(), null),
				new NavigationPaneRecord("templates", "Templates",
						new AccountView.Factory(), null),
				new NavigationPaneRecord("datamanagement", "Data Management",
						new AccountView.Factory(), null) };
	}
}